package ru.payment.wm.impl.response;

import ru.payment.wm.Message;

import java.util.Date;

/**
 *
 * User: sergey
 * Date: 17.04.2009
 * Time: 15:06:39
 *
 */
public class MessageImpl implements Message {

  private String messageId;

  private String receiverWmId;
  private String messageSubject;
  private String messageText;
  private Date createDate;

  public MessageImpl() {
  }

  public String getMessageId() {
    return messageId;
  }

  public void setMessageId(String messageId) {
    this.messageId = messageId;
  }

  public String getReceiverWmId() {
    return receiverWmId;
  }

  public void setReceiverWmId(String receiverWmId) {
    this.receiverWmId = receiverWmId;
  }

  public String getMessageSubject() {
    return messageSubject;
  }

  public void setMessageSubject(String messageSubject) {
    this.messageSubject = messageSubject;
  }

  public String getMessageText() {
    return messageText;
  }

  public void setMessageText(String messageText) {
    this.messageText = messageText;
  }

  public Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(Date createDate) {
    this.createDate = createDate;
  }

  @Override
  public String toString() {
    return
      "messageId: "+messageId+"\n"+
      "receiverWmId: "+receiverWmId+"\n"+
      "messageSubject: "+messageSubject+"\n"+
      "messageText: "+messageText+"\n"+
      "createDate: "+createDate;
  }

}

